home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.xml;
-
- public class DebugWriter extends SchemaWriter implements DebugTags {
- ElemProxy elemProxy = new ElemProxy(this);
- AttrProxy attrProxy = new AttrProxy(this);
-
- public DebugWriter(SchemaIntf var1) {
- super(var1, var1.getURI());
- }
-
- public DebugWriter(SchemaIntf var1, URI var2) {
- super(var1, var2);
- }
-
- protected void writeHeader(SXE var1) {
- var1.writeComment("Internal debug format generated by XML Authority.");
- var1.writeElem("Schema");
- var1.writeLineBreak();
- }
-
- protected SchemaWriter.DeclWriterProxyIntf createProxy(ElementDeclaration var1) {
- if (this.elemProxy == null) {
- this.elemProxy = new ElemProxy(this);
- }
-
- this.elemProxy.setDecl(var1);
- return this.elemProxy;
- }
-
- protected SchemaWriter.DeclWriterProxyIntf createProxy(AttributeDeclaration var1) {
- if (this.attrProxy == null) {
- this.attrProxy = new AttrProxy(this);
- }
-
- this.attrProxy.setDecl(var1);
- return this.attrProxy;
- }
- }
-